home *** CD-ROM | disk | FTP | other *** search
- Path: howland.reston.ans.net!psinntp!psinntp!psinntp!psinntp!usenet
- From: grantp@usa.pipeline.com(Pete Grant)
- Newsgroups: comp.lang.c++
- Subject: Re: Protected functions
- Date: 25 Mar 1996 12:33:18 GMT
- Organization: Kalevi, Inc.
- Message-ID: <4j63qe$eq7@news1.h1.usa.pipeline.com>
- References: <3155636F.3461@clubi.ie>
- NNTP-Posting-Host: 38.8.120.13
- X-PipeUser: grantp
- X-PipeHub: usa.pipeline.com
- X-PipeGCOS: (Pete Grant)
- X-Newsreader: Pipeline v3.5.0
-
- On Mar 24, 1996 14:59:59 in article <Protected functions>, 'BRUCE
- <jbruce@clubi.ie>' wrote:
-
-
- >Can any one tell me what a protected function of a class is ?
- >
- A protected member function is just like any other member function
- except that it may be called only by:
-
- 1. member functions of the class.
- 2. member functions of non-privately derived classes.
- 3. friends of the class.
-
- There's a little more detail, but the above is a good starting
- point. BTW, need I say that #2 is only for classes derived
- from the class which has the protected member in question?
-
- --
- Pete Grant
- Kalevi, Inc.
- Software Engineering & development
-